const axios = require('axios');
const config = require('../config/config');

exports.SuperRequest = (method, path, body) => {
    const requestUrl = `${config.API_BASE_URL}${path}`;
    return axios({
        method: method,
        url: requestUrl,
        data: body
    });
}